<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:a4j="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich"
                template="/parkTemplate.xhtml">
    <ui:param name="tab" value="register"/>
    <ui:define name="tab-content">
        <h2>Wypełnij formularz, aby przypomnieć hasło</h2>
        <h:form>
            <rich:panel header="#{bundle['forgotPassword.title']}">
                <h:panelGrid columns="3">
                    <h:outputText value="#{bundle['forgotPassword.email']}"/>
                    <h:inputText value="#{forgotPassword.email}" id="email">
                        <rich:validator />
                    </h:inputText>
                    <rich:message for="email" />
                    
                    <f:facet name="footer">
                        <a4j:commandButton id="registry" value="#{bundle['forgotPassword.button']}" action="#{forgotPassword.changePassword()}" style="margin-left: 64px"/>
                    </f:facet>
                </h:panelGrid>
            </rich:panel>
        </h:form>
    </ui:define>
</ui:composition>